FileResourceDownloader

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun byDataSetUid(): ListFilterConnector<FileResourceDownloader, String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun byEventUid(): ListFilterConnector<FileResourceDownloader, String>
Link copied to clipboard
fun byMaxContentLength(): EqFilterConnector<FileResourceDownloader, Int>
Link copied to clipboard
fun byProgramUid(): ListFilterConnector<FileResourceDownloader, String>
Link copied to clipboard
fun byTrackedEntityUid(): ListFilterConnector<FileResourceDownloader, String>
Link copied to clipboard
Link copied to clipboard
fun download(): Observable<D2Progress>

Download and persist file resources according to the filters specified. It only downloads the files that have not been previously downloaded. In case a file fails to be downloaded, it is ignored.